<?php
/**
 * @package WordPress Themes
 * @subpackage Tencent CDC Theme
 */
?>
	<div id="sidebar">
	<div id="sidebar_inner">
		<a href="<?php bloginfo('rss2_url'); ?>" target="_blank" id="sidebar_rss" title="RSS 订阅">rss</a>
		<div id="login">
			<a id="login_btn" href="<?php bloginfo('home'); ?>/wp-login.php">登录</a>
			<p id="before">还没有帐号，欢迎<a href="<?php bloginfo('home'); ?>/wp-register.php">注册</a></p>
		</div>
		<dl>
			<form id="topsearchform" action="<?php bloginfo('home'); ?>" method="get">
				<input id="s" class="search_box" type="text" maxlength="20" name="s" value=""/>
				<input id="topsearchsubmit" class="button" type="submit" title="搜索" value=""/>
			</form>
		</dl>
		<h3>文章分类</h3>
			<ul id="species" class="species_active">
				<?php wp_list_categories('title_li='); ?>
			</ul>
		<div class="sidebar_footer">&nbsp;</div>
		<h3>标签</h3>
			<div id="tag">
				<?php wp_tag_cloud('smallest=10&largest=10&orderby=count&number=30'); ?> 
			</div>
		<div class="sidebar_footer">&nbsp;</div>
		<h3>最新文章</h3>
			<ul>
				<?php get_recent_posts($no_post='8',$before='<li>',$after='</li>'); ?>
			</ul>
		<div class="sidebar_footer">&nbsp;</div>
		<h3>最新回复</h3>
			<ul>
				<?php get_recent_comments($no_comment='8'); ?>
			</ul>
		<div class="sidebar_footer">&nbsp;</div>
		<h3>链接</h3>
			<ul>
				<?php wp_list_bookmarks('title_li=&categorize=0'); ?>
			</ul>
		<div class="sidebar_footer">&nbsp;</div>
	</div>
	</div>
</div>
</div>
